home *** CD-ROM | disk | FTP | other *** search
- /*
-
- AUTODISK - program to copy floppy disk to RAM disk upon system
- boot, and also set the system clock.
- By Moshe Braner <braner@amvax.tn.cornell.edu> 861223
-
- FUNCTION
- This program is to be placed in the \AUTO folder on the boot disk,
- AFTER the RAMdisk program. (It assumes the reset-immune RAM disk is
- already installed.) After asking the user for the current time and
- date, and setting the ST's two clocks accordingly, this program copies
- the whole floppy disk data, FATs, directory and all, onto the RAMdisk.
- (It first finds out which sector is the last one actually holding data,
- and copies all sectors up to that one.)
-
- HINTS
- For best results: Freshly format a disk, make an AUTO directory,
- put in it first RAMDISK.PRG and then AUTODISK.PRG, then put on the
- disk all other files you want to load to the RAMdisk at boot time,
- but no others. You can set these files up in folders if you want:
- first make the folders, then put the files on the disk directly into
- the folders. For maximum speed do not make any deletions of files,
- nor copy files from the disk to itself.
- You may save the desktop (with the RAMdisk icon installed, and perhaps
- the RAMdisk's window open) on the disk, too. Make sure the RAMdisk
- is more than big enough to hold all those files.
-
- ACKNOWLEDGEMENTS
- This program made possible in part by Eric Terrell, who posted
- "eternal.s". The method of setting the ST's clocks is borrowed
- from "settime", posted by Allan Pratt of Atari.
-
- WARNINGS
- This program is for booting off a floppy disk. For hard disks (or
- future, very large, floppies) the program (and/or the RAMdisk program)
- needs some tweaking, at least at the points marked ">>>>".
- This program will not work with "copy protected" disk formats,
- including the "FAST" format with its "dead" sectors.
- */
-